package com.netjava.pojo;

/**
 * Auctioning entity.
 * 正在竞拍的商品
 * @author MyEclipse Persistence Tools
 */

public class Auctioning implements java.io.Serializable {

	// Fields

	private Integer auctioningId;
	private Product product;//正在竞拍的商品
	private String remainTime="24:00:00";//该商品拍卖剩余时间
	private String other1;//备用字段

	// Constructors

	/** default constructor */
	public Auctioning() {
	}

	/** minimal constructor */
	public Auctioning(Product product, String remainTime) {
		this.product = product;
		this.remainTime = remainTime;
	}

	/** full constructor */
	public Auctioning(Product product, String remainTime, String other1) {
		this.product = product;
		this.remainTime = remainTime;
		this.other1 = other1;
	}

	// Property accessors

	public Integer getAuctioningId() {
		return this.auctioningId;
	}

	public void setAuctioningId(Integer auctioningId) {
		this.auctioningId = auctioningId;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getRemainTime() {
		return this.remainTime;
	}

	public void setRemainTime(String remainTime) {
		this.remainTime = remainTime;
	}

	public String getOther1() {
		return this.other1;
	}

	public void setOther1(String other1) {
		this.other1 = other1;
	}

}